package cn.zhentao.service.impl;

import cn.zhentao.dao.RoleDao;
import cn.zhentao.pojo.Role;
import cn.zhentao.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleDao dao;
    @Override
    public List<Role> findAll() {
        return dao.findAll();
    }
}
